#ifndef LOG_H_
#define LOG_H_

#include "../lib/LockFile.h"

#include <string>

class Log {

private:

	LockFile logFile;

	static Log instance;

public:

	Log();

	~Log();

	static Log& getInstance();

	void log(int userID, std::string msg, bool isError=false);

	static void logToScreen();

	static void logScreenToFile();

};

#endif /* LOG_H_ */
